package db;

import java.util.ArrayList;

import model.Apartment;

public interface IFDBApartment
{
	/* SELECT */
	public ArrayList<Apartment> getAll();
	
	
	public ArrayList<Apartment> getAllWithRenters();//added 08/01/2015
	public Apartment getById(int id);

	//public ArrayList<Apartment> getByName(String name);

	/* INSERT */
	public int insertScope(Apartment item);

	/* UPDATE */
	public void update(Apartment item);

	/* DELETE */
	public void delete(Apartment item);

}
